Skip to content

v4.1.x: reduce/ireduce: Return MPI_SUCCESS when count == 0 and send == recv.#9227

Merged
jsquyres merged 1 commit intoopen-mpi:v4.1.xfrom
awlauria:fix_reduce_v4.1.x
Aug 29, 2021
Merged

v4.1.x: reduce/ireduce: Return MPI_SUCCESS when count == 0 and send == recv.#9227
jsquyres merged 1 commit intoopen-mpi:v4.1.xfrom
awlauria:fix_reduce_v4.1.x

Conversation

@awlauria
Copy link
Contributor

@awlauria awlauria commented Aug 12, 2021

This will avoid returning an error for 0 counts when the
send and recv buffers are NULL.

Adding this will avoid skipping existing validations
and drop down to the current count == 0 check.

Fixes #4135

Signed-off-by: Austen Lauria awlauria@us.ibm.com
(cherry picked from commit 715a162)

This will avoid returning an error for 0 counts when the
send and recv buffers are NULL.

Adding this will avoid skipping existing validations
and drop down to the current count == 0 check.

Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
(cherry picked from commit 715a162)
@awlauria awlauria added this to the v4.1.2 milestone Aug 12, 2021
@jsquyres jsquyres merged commit 1d046ee into open-mpi:v4.1.x Aug 29, 2021
@awlauria awlauria deleted the fix_reduce_v4.1.x branch March 17, 2022 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants